/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.startup.musicstore.app.factory;

import com.startup.musicstore.model.CustomerInvoice;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @author Administrator
 */
public class CustomerInvoiceFactory {

    public static CustomerInvoice getnames(Date invoiceDate, BigDecimal orderAmount, String invoiceStatus) {
        CustomerInvoice ci = new CustomerInvoice();
        ci.setInvoiceDate(invoiceDate);
        ci.setOrderAmount(orderAmount);
        ci.setInvoiceStatus(invoiceStatus);
        return ci;
    }
}
